package com.shuimuzhen.SecondhandMotorManagementSystem.pojo.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Date;

@Data

public class ConsumptionRecord {
    //primary key
    private long id;
    //foreign key
    private long sellerId;
    private long buyerId;
    private long secondHandMotorId;
    private BigDecimal price;
    private Date commitTime;//买者是买入时间,卖者是卖出时间
}
